package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;

public class CapitalExpenditure implements Serializable {
    private Integer id;

    /**
	* 操作人id
	*/
    private Integer staffId;

    /**
	* 支出金额
	*/
    private String price;

    /**
	* 用途
	*/
    private String purpose;

    /**
	* 资金支出的类型
	*/
    private Integer capitalTypeId;

    /**
	* 支出时间
	*/
    private Date time;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStaffId() {
        return staffId;
    }

    public void setStaffId(Integer staffId) {
        this.staffId = staffId;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPurpose() {
        return purpose;
    }

    public void setPurpose(String purpose) {
        this.purpose = purpose;
    }

    public Integer getCapitalTypeId() {
        return capitalTypeId;
    }

    public void setCapitalTypeId(Integer capitalTypeId) {
        this.capitalTypeId = capitalTypeId;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", staffId=").append(staffId);
        sb.append(", price=").append(price);
        sb.append(", purpose=").append(purpose);
        sb.append(", capitalTypeId=").append(capitalTypeId);
        sb.append(", time=").append(time);
        sb.append("]");
        return sb.toString();
    }
}